<?php
echo $_SERVER['REQUEST_METHOD'];
var_dump($_POST);
var_dump($_FILES);
echo file_get_contents('php://input');